package com.pengtu.entity.quality;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.pengtu.entity.IdEntity;

@Entity
@Table(name = "T_Q_MAJORPART")
public class MajorPart extends IdEntity {

	/**
	 * serialVersionUID:TODO
	 * 
	 * @since 1.0.0
	 */

	private static final long serialVersionUID = 1L;

	private String pid;
	private String name;
	private String type;
	private String isduty;
	private String subunit;
	private String location;
	private String remark;

	@Column(name="PID")
	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	@Column(name="NAME")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name="TYPE")
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Column(name="ISDUTY")
	public String getIsduty() {
		return isduty;
	}

	public void setIsduty(String isduty) {
		this.isduty = isduty;
	}

	@Column(name="SUBUNIT")
	public String getSubunit() {
		return subunit;
	}

	public void setSubunit(String subunit) {
		this.subunit = subunit;
	}
	
	@Column(name="LOCATION")
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
	
	@Column(name="REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public MajorPart() {
		super();
	}

}
